[mirrors]
http://download.icu-project.org/files/icu4c/52.1/icu4c-52_1-src.tgz

[main]
filesize=23875368
sha512=5300b1d97340850d3d72af220ff5cbc2ae2820aff4367b60e52f17ead9831011dcda3d4c5af57c899d47b6fc964b23c9c8922954b32d314d669eb1a479a2efb0
tardir=icu

[deps]

[build]
patch -p1 < "$K"/icu-timezone.patch
cd source
[ -n "$CROSS_COMPILE" ] && \
  xconfflags="--host=$($CC -dumpmachine|sed 's/musl/gnu/') \
  --with-sysroot=$butch_root_dir"
CPPFLAGS="-D_GNU_SOURCE" CFLAGS="$optcflags" CXXFLAGS="$optcflags" \
LDFLAGS="$optldflags -Wl,-rpath-link=$butch_root_dir$butch_prefix/lib" \
  ./configure --prefix="$butch_prefix" $xconfflags \
  --disable-tests --disable-samples
make V=1 -j$MAKE_THREADS
make DESTDIR="$butch_install_dir" install

